Atum\Inc\Helpers D

Total Complexity 434
Dependencies 28
Dependents 62
Total lines 3,340
Lines of code 1,610
Logical lines of code 918
Comment lines 1,009
Methods 86
Properties 0

Methods 86

Method Rating Maintainability Complexity Lines of code
update_product_data()
D
33 33 82
get_sold_last_days()
C
30 23 124
get_orders()
C
32 22 101
save_order_note_meta()
B
42 18 53
change_status_meta()
A
38 12 79
get_atum_icon_type()
A
44 14 47
array_group_by()
A
48 15 32
force_rebuild_stock_status()
A
42 12 53
get_log_item_qty()
A
45 12 38
get_order_note_ids()
A
47 9 37
product_data_query_clauses()
A
50 9 25
load_view()
A
50 8 28
suppliers_dropdown()
A
47 7 38
product_types_dropdown()
A
46 7 36
get_product_stock_on_hold()
A
46 7 36
get_wc_time()
S
48 7 30
get_product_lost_sales()
S
52 7 24
get_atum_product()
S
53 7 22
show_marketing()
S
55 7 19
get_product_inbound_stock()
S
48 6 31
get_atum_order_model()
S
55 6 19
get_atum_order_post_type_statuses()
S
56 6 18
load_psr4_classes()
S
56 6 18
get_logs()
S
48 5 33
get_product_prop()
S
56 6 17
is_rest_request()
S
56 6 17
trim_input()
S
57 6 17
validate_color()
S
57 6 16
get_atum_user_meta()
S
59 6 13
get_all_products()
S
51 5 26
get_product_out_stock_days()
S
53 5 22
get_bundle_items()
S
56 5 18
locate_template()
S
57 5 17
read_parent_product_type()
S
50 4 30
get_unmanaged_products()
S
50 4 26
in_multi_array()
S
63 5 11
update_atum_control()
S
61 5 11
is_plugin_installed()
S
63 5 9
get_option()
S
62 5 10
get_relative_date()
S
55 3 18
get_sold_last_days_option()
S
64 4 9
get_current_timestamp()
S
68 4 6
unique_multidim_array()
S
61 3 13
maybe_use_wc_order_product_lookup_table()
S
59 3 13
get_visual_mode_style()
S
62 3 12
get_data_att()
S
61 3 12
is_product_low_stock()
S
60 3 11
set_atum_user_meta()
S
62 3 11
get_rating_text()
S
57 2 16
is_atum_ajax()
S
76 3 3
update_wc_manage_stock()
S
67 3 7
get_att()
S
69 3 6
get_option_group_hidden_classes()
S
67 3 7
get_options()
S
66 3 8
date_format()
S
69 3 6
format_price()
S
68 3 6
get_support_buttons()
S
63 2 11
is_product_data_outdated()
S
77 2 3
is_atum_product()
S
77 2 3
get_atum_control_status()
S
70 2 6
get_term_ids_by_slug()
S
58 1 15
maybe_es6_promise()
S
70 2 6
get_atum_product_class()
S
65 2 9
array_keys_exist()
S
67 2 8
add_help_tab()
S
62 2 10
get_input_step()
S
73 2 4
get_atum_image_placeholder()
S
73 1 5
enqueue_atum_colors()
S
79 1 3
array_to_data()
S
69 1 6
update_atum_setting()
S
68 1 7
load_view_to_string()
S
72 1 5
get_raw_wc_order_status()
S
78 1 3
is_using_new_wc_tables()
S
80 1 3
get_color_value()
S
79 1 3
is_atum_controlling_stock()
S
79 1 3
is_inheritable_type()
S
79 1 3
atum_field_input_addon()
S
67 1 9
is_child_type()
S
79 1 3
show_marketing_popup()
S
79 1 3
image_placeholder()
S
81 1 3
sanitize_psr4_class_name()
S
77 1 3
get_order_items()
S
71 1 5
get_atum_order_model_from_item_id()
S
70 1 5
decode_json_string()
S
77 1 3
is_any_out_stock_threshold_set()
S
64 1 10
show_marketing_dashboard()
S
79 1 3